<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="html-el" uri="http://struts.apache.org/tags-html-el" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="../../../js/jquery.js"></script>
<script type="text/javascript" src="../../../js/jquery-ui-personalized.min.js"></script>
<script type="text/javascript" src="../js/common.js"></script>
<script type="text/javascript" src="../js/mail.js"></script>
<link type="text/css" href="../../../style/theme/ui.all.css" rel="stylesheet" />
<link type="text/css" href="../style/style.css" rel="stylesheet"/>
<style type="text/css">

</style>
<title>增加邮件信息</title>
</head>
<body>
	
	<h1>为${dormSupervisor.building.name }增加邮件信息</h1>
	<html-el:errors />
	<div class="ajaxMessage"></div>
	<form action="addMail.do" method="post" name="mailDTO">

		<input type="hidden" name="buildingId" value="${dormSupervisor.building.id }"/>
		<div>
			<label for="dormitory">寝室名：</label>
			<div>
				<input id="dormitory" type="text" name="dormitory"/>*
				<span class="warning"></span>
			</div>
		</div>
		<div>
			<label for="student">学生：</label>
			<div>
				<div><input id="student" type="text" name="student"/>*</div>
				<div id="studentList"><table></table></div>
			</div>			
		</div>
		<div>
			<label for="description">说明：</label>
			<div>
				<textarea rows="5" cols="20" id="description" name="description"></textarea>*
			</div>
		</div>
		<input type="submit" name="submit" value="提交"/>
	</form>
</body>
</html>